package com.book.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.book.entity.Book;
import com.book.request.getHotBookReq;

import java.io.Serializable;
import java.util.List;

public interface BookService extends IService<Book> {
    public List<Book> getRecommendBooks();

    public List<Book> getHotBooks(getHotBookReq request);

    public Page getBooksByCId(String cId, int current, int size);

    public List<Book> search(String keyword);

    @Override
    Book selectById(Serializable serializable);
}
